package com.pkx.cloud.fse7.expand.plan.service;

import com.pkx.cloud.fse7.expand.plan.entity.DoorPlanDetail;
import com.pkx.cloud.mybatis.comn.BaseSev;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 服务类
 *
 * @author chenwg
 * @since 2021-04-09
 */
public interface DoorPlanDetailService extends BaseSev<DoorPlanDetail> {

    /**
     * 分页列表
     *
     * @param doorPlanDetail
     * @return
     */
    Page<DoorPlanDetail> pageList(Page page, DoorPlanDetail doorPlanDetail);

    /**
     * 列表查询
     *
     * @param doorPlanDetail
     * @return
     */
    List<DoorPlanDetail> listByEntity(DoorPlanDetail doorPlanDetail);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    DoorPlanDetail selectById(String id);

    /**
     * 保存
     *
     * @param doorPlanDetail
     * @return
     */
    Boolean saveDoorPlanDetail(DoorPlanDetail doorPlanDetail);

    /**
     * 修改
     *
     * @param doorPlanDetail
     * @return
     */
    Boolean modify(DoorPlanDetail doorPlanDetail);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    Boolean deleteById(String id);

    Boolean deleteByPlantId(String id);
    Boolean deleteByPlantIds(List<String> ids);
}
